<% if @search %>
    <%= start_form_tag({:controller => 'site', :action => 'site_search'}, { :method => 'get' })%>
    <%= text_field_tag 'q', '', 'size' => '40'  %> <%= submit_tag 'Search for sites', :name => '' %>
    <%= end_form_tag %>
<% end %>